<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet">
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
<script language=javascript src='{yun:}$config.sy_weburl{/yun}/data/plus/city.cache.js?v={yun:}$config.cachecode{/yun}'></script>
<script src="{yun:}$config.sy_weburl{/yun}/data/plus/job.cache.js?v={yun:}$config.cachecode{/yun}" type="text/javascript"></script>
<script language=javascript src='{yun:}$config.sy_weburl{/yun}/js/city.js?v={yun:}$config.cachecode{/yun}'></script>
<link rel="stylesheet" href="{yun:}$style{/yun}/style/newclass.public.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/newclass.public.js?v={yun:}$config.cachecode{/yun}" type="text/javascript"></script>
<script language="javascript">

function saveexpect(){
	var pytoken = $.trim($("#pytoken").val());
	var name = $.trim($("#expect_name").val());
	var hy = $.trim($("#hyid").val());
	var job_classid = $.trim($("#job_class").val());
	var city_classid = $.trim($("#city_class").val());
	var minsalary = $.trim($("#minsalary").val());
	var maxsalary = $.trim($("#maxsalary").val());
	var uid = $.trim($("#uid").val());
	var report = $.trim($("#reportid").val());
	var typeid = $.trim($("#typeid").val());
	var jobstatus = $.trim($("#jobstatusid").val());
	var eid = $.trim($("#eid").val());
	if(name==""){parent.layer.msg('请填写期望岗位！', 2, 8);return false; }
	if(hy==""){parent.layer.msg('请选择从事行业！', 2, 8);return false;}
	if(job_classid==""){parent.layer.msg('请选择从事职位！', 2, 8);return false;}
	if(minsalary==""){parent.layer.msg('请选择望月薪！', 2, 8);return false;}
	if(city_classid==''){parent.layer.msg('请选择工作地点！', 2, 8);return false;}
	if(report==""){parent.layer.msg('请选择到岗时间！', 2, 8);return false;}
	if(jobstatus==""){parent.layer.msg('请选择求职状态！', 2, 8);return false;}
	parent.layer.load('执行中，请稍候...',0);
	$.post("index.php?m=admin_resume&c=saveexpect",{name:name,hy:hy,job_classid:job_classid,city_classid:city_classid,minsalary:minsalary,maxsalary:maxsalary,report:report,eid:eid,submit:"1",uid:uid,pytoken:pytoken,type:typeid,jobstatus:jobstatus},function(data){
		parent.layer.closeAll();
		if(data==0){
			parent.layer.msg('操作失败！', 2, 8);return false;
		}else if(data==1){
			parent.layer.msg('简历数已经超过系统设置的简历数了！', 2, 8);return false;
		}else{
			data=eval('('+data+')');
			if(eid==""){
				window.location.href="index.php?m=admin_resume&c=saveresume&uid="+uid+"&e="+data.id;
			}else{
				$("#addresume").hide();
				$("#resume").show();
				$("#expect_name_html").html(data.name);
				$("#hy_html").html(data.hy);
				$("#job_class_html").html(data.job_classname);
				$("#salary_html").html(data.msalary);
				$("#cityid_html").html(data.city);
				$("#report_html").html(data.report);
				$("#type_html").html(data.type);
				$("#jobstatus_html").html(data.jobstatus);
				$("#eid").val(data.id);
			}
		}
	});
}
function checkmore(type){
	$("#add"+type).show();
	$("#"+type).hide();
}
function layerClose(type){
	$("#add"+type).hide();
	$("#"+type).show();
	$("#"+type+"_add_button").show();
}
function savework(){
	var eid = $.trim($("#eid").val());
	var id = $.trim($("#workid").val());
	var date=$.trim($("#work_date").val()).split('~');
	var sdate = date[0];
	var edate = date[1];
	var name = $.trim($("#work_name").val());
	var department = $.trim($("#work_department").val());
	var title = $.trim($("#work_title").val());
	var salary = $.trim($("#work_salary").val());
	var content = $.trim($("#work_content").val());
	var pytoken = $.trim($("#pytoken").val());
	var uid = $.trim($("#uid").val());
	if(eid==""){
		parent.layer.msg('请先完善求职意向！', 2,8);
		return false;
	}
	if(name==""){
		parent.layer.msg('请填写单位名称！', 2,8);
		return false;
	}
	if(date==""){
		parent.layer.msg('工作时间不能为空！', 2,8);
		return false
	}
	if(content==""){
		parent.layer.msg('请填写工作内容！', 2,8);
		return false;
	}
	parent.layer.load('执行中，请稍候...',0);
	$.post("index.php?m=admin_resume&c=work",{sdate:sdate,edate:edate,name:name,department:department,eid:eid,salary:salary,title:title,content:content,id:id,table:"resume_work",submit:"1",uid:uid,pytoken:pytoken},function(data){
		parent.layer.closeAll();
		if(data!=0){
			data=eval('('+data+')');
			$("#work").show();
			$("#addwork").hide();
			if(id>0){
				var html='<tr><th  style="border-bottom: medium none;width:120px">单位名称：</th><td  style="border-bottom: medium none;width:320px">'+data.name+'</td><th style="border-bottom: medium none;">工作时间：</th><td  style="border-bottom: medium none;">'+data.sdate+'至'+data.edate+'</td></tr><tr><th style="border-bottom: medium none;">担任职位：</th><td style="border-bottom: medium none;">'+data.title+'</td></tr><tr ><th >工作内容：</th><td><em>'+data.content+'</em></td><th width=\"120\"><a href=\"javascript:void(0)\" onclick="getresume(\'work\','+data.id+')"class=\"admin_save_sub1\">【修改】</a></th><td><a href=\"javascript:void(0)\" onclick=\"resume_del(\'work\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></td></tr>';
				$("#work_"+id).html(html);
			}else{
				var html='<div class=\"admin_saversume_list\" id="work_'+data.id+'"><div class=\"admin_saversume_tit\"><span class=\"admin_saversume_tit_b\">'+data.name+'</span> 担任<span class=\"admin_saversume_tit_b\">'+data.title+'</span> </div><div>'+data.sdate+'至'+data.edate+'</div><div>'+data.content+'</div> <div class=\"admin_saversume_cz\"><a href=\"javascript:void(0)\" onclick="getresume(\'work\','+data.id+')"class=\"admin_save_sub1\">【修改】</a><a href=\"javascript:void(0)\" onclick=\"resume_del(\'work\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></a></div>';
				$("#work_list").append(html);
			}
			$("#work_add_button").show();
		}else{
			parent.layer.msg('操作失败！', 2,8);
		}
	});
}
function saveproject(){
	var eid = $.trim($("#eid").val());
	var id = $.trim($("#projectid").val());
	var date=$.trim($("#project_date").val()).split('~');
	var sdate = date[0];
	var edate = date[1];
	var name = $.trim($("#project_name").val());
	var title = $.trim($("#project_title").val());
	var content = $.trim($("#project_content").val());
	var uid = $.trim($("#uid").val());
	var pytoken = $.trim($("#pytoken").val());
	if(eid==""){
		parent.layer.msg('请先完善求职意向！', 2,8);
		return false;
	}
	if(name==""){
		parent.layer.msg('请填写项目名称！', 2,8);
		return false;
	}
	if(date=="")
	{
		parent.layer.msg('项目时间不能为空！', 2,8);
		return false
	}
	if(content==""){
		parent.layer.msg('请填写项目内容！', 2,8);
		return false;
	}
	parent.layer.load('执行中，请稍候...',0);
	$.post("index.php?m=admin_resume&c=project",{sdate:sdate,edate:edate,name:name,eid:eid,title:title,content:content,id:id,table:"resume_project",submit:"1",uid:uid,pytoken:pytoken},function(data){
		parent.layer.closeAll();
		if(data!=0){
			data=eval('('+data+')');
			$("#project").show();
			$("#addproject").hide();
			if(id>0){
				var html='<tr><th  style="border-bottom: medium none;width:120px">项目名称：</th><td  style="border-bottom: medium none;width:320px">'+data.name+'</td><th style="border-bottom: medium none;">项目时间：</th><td  style="border-bottom: medium none;">'+data.sdate+'至'+data.edate+'</td></tr><tr><th style="border-bottom: medium none;">担任职位：</th><td style="border-bottom: medium none;">'+data.title+'</td></tr><tr ><th >项目内容：</th><td ><em>'+data.content+'</em></td><th width="120"><a href="javascript:void(0)" onclick="getresume(\'project\','+data.id+')"class=\"admin_save_sub1\">【修改】</a></th><td><a href=\"javascript:void(0)\" onclick=\"resume_del(\'project\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></td></tr>';
				$("#project_"+id).html(html);
			}else{
				var html='<div class=\"admin_saversume_list\"id="project_'+data.id+'"><div class="admin_saversume_tit"><span class=\"admin_saversume_tit_b\">'+data.name+'</span> 担任职位 <span class=\"admin_saversume_tit_b\">'+data.title+'</span></div><div>'+data.sdate+'至'+data.edate+'</div><div>'+data.content+'</div><div class="\admin_saversume_cz\"><a href="javascript:void(0)" onclick="getresume(\'project\','+data.id+')"class=\"admin_save_sub1\">【修改】</a></th><td><a href=\"javascript:void(0)\" onclick=\"resume_del(\'project\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></div></div>';
				$("#project_list").append(html);
			}

			$("#project_add_button").show();

		}else{
			parent.layer.msg('操作失败！', 2,8);
		}
	});
}
function saveedu(){
	var eid = $.trim($("#eid").val());
	var id = $.trim($("#eduid").val());
	var date=$.trim($("#edu_date").val()).split('~');
	var sdate = date[0];
	var edate = date[1];
	var name = $.trim($("#edu_name").val());
	var title = $.trim($("#edu_title").val());
	var education = $.trim($("#educationcid").val());
	var uid = $.trim($("#uid").val());
	var pytoken = $.trim($("#pytoken").val());
	if(eid==""){
		parent.layer.msg('请先完善求职意向！', 2,8);
		return false;
	}
	if(name==""){
		layer.msg('请填写学校名称！', 2,8);
		return false;
	}
	if(date=="")
	{
		parent.layer.msg('在校时间不能为空！', 2,8);
		return false
	}
	parent.layer.load('执行中，请稍候...',0);
	$.post("index.php?m=admin_resume&c=edu",{sdate:sdate,edate:edate,name:name,education:education,eid:eid,title:title,id:id,table:"resume_edu",submit:"1",uid:uid,pytoken:pytoken},function(data){
		parent.layer.closeAll();
		if(data!=0){
			data=eval('('+data+')');
			$("#edu").show();
			$("#addedu").hide();
			if(id>0){
				var html='<div class=\"admin_saversume_list\" id="edu_'+data.id+'"><div class=\"admin_saversume_tit\"><span class=\"admin_saversume_tit_b\">'+data.name+'</span> 班级职务 <span class=\"admin_saversume_tit_b\">'+data.title+'</span></div><div>'+data.sdate+'至'+data.edate+'</div><div> 最高学历：'+data.educationval+' 所学专业：'+data.specialty+'</div><div class=\"admin_saversume_cz\"><a href="javascript:void(0)" onclick="getresume(\'edu\','+data.id+')"class=\"admin_save_sub1\">【修改】</a><a href=\"javascript:void(0)\" onclick=\"resume_del(\'edu\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></div></div>';
				$("#edu_"+id).html(html);
			}else{
				var html='<div class=\"admin_saversume_list\" id="edu_'+data.id+'"><div class=\"admin_saversume_tit\"><span class=\"admin_saversume_tit_b\">'+data.name+'</span> 班级职务 <span class=\"admin_saversume_tit_b\">'+data.title+'</span></div><div>'+data.sdate+'至'+data.edate+'</div><div> 最高学历：'+data.educationval+' 所学专业：'+data.specialty+'</div><div class=\"admin_saversume_cz\"><a href="javascript:void(0)" onclick="getresume(\'edu\','+data.id+')"class=\"admin_save_sub1\">【修改】</a><a href=\"javascript:void(0)\" onclick=\"resume_del(\'edu\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></div></div>';
				$("#edu_list").append(html);
			}
			$("#edu_add_button").show();
		}else{
			parent.layer.msg('操作失败！', 2,8);
		}
	});
}
function savetraining(){
	var eid = $.trim($("#eid").val());
	var id = $.trim($("#trainingid").val());
	var date=$.trim($("#training_date").val()).split('~');
	var sdate = date[0];
	var edate = date[1];
	var name = $.trim($("#training_name").val());
	var title = $.trim($("#training_title").val());
	var content = $.trim($("#training_content").val());
	var uid = $.trim($("#uid").val());
	var pytoken = $.trim($("#pytoken").val());
	if(eid==""){
		parent.layer.msg('请先完善求职意向！', 2,8);
		return false;
	}
	if(name==""){
		parent.layer.msg('请填写培训中心！', 2,8);
		return false;
	}
	if(date=="")
	{
		parent.layer.msg('培训时间不能为空！', 2,8);
		return false
	}
	if(title==""){
		parent.layer.msg('请填写培训方向！', 2,8);
		return false;
	}
	if(content==""){
		parent.layer.msg('请填写培训描述！', 2,8);
		return false;
	}
	parent.layer.load('执行中，请稍候...',0);
	$.post("index.php?m=admin_resume&c=training",{sdate:sdate,edate:edate,name:name,eid:eid,title:title,content:content,id:id,table:"resume_training",submit:"1",uid:uid,pytoken:pytoken},function(data){
		parent.layer.closeAll();
		if(data!=0){
			data=eval('('+data+')');
			$("#training").show();
			$("#addtraining").hide();
			if(id>0){
				var html='<tr><th  style="border-bottom: medium none;width:120px">培训中心：</th><td  style="border-bottom: medium none;width:320px">'+data.name+'</td><th style="border-bottom: medium none;">培训时间：</th><td  style="border-bottom: medium none;">'+data.sdate+'至'+data.edate+'</td></tr><tr><th style="border-bottom: medium none;">培训方向：</th><td style="border-bottom: medium none;" colspan="3">'+data.title+'</td></tr><tr ><th >培训描述：</th><td ><em>'+data.content+'</em></td><th width="120"><a href="javascript:void(0)" onclick="getresume(\'training\','+data.id+')"class=\"admin_save_sub1\">【修改】</a></th><td><a href=\"javascript:void(0)\" onclick=\"resume_del(\'training\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></td></tr>';
				$("#training_"+id).html(html);
			}else{
				var html='<div class="admin_saversume_list" id="training_'+data.id+'"><div class="admin_saversume_tit"><span class="admin_saversume_tit_b">'+data.name+'</span> 培训方向 <span class="admin_saversume_tit_b">'+data.title+'</span> </div><div>'+data.sdate+'至'+data.edate+'</div><div>'+data.content+'</div><div class="admin_saversume_cz"><a href="javascript:void(0)" onclick="getresume(\'training\','+data.id+')"class=\"admin_save_sub1\">【修改】</a><a href=\"javascript:void(0)\" onclick=\"resume_del(\'training\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></div></div>';
				$("#training_list").append(html);
			}
			$("#training_add_button").show();
		}else{
			parent.layer.msg('操作失败！', 2,8);
		}
	});
}
function saveother(){
	var eid = $.trim($("#eid").val());
	var id = $.trim($("#otherid").val());
	var name = $.trim($("#other_name").val());
	var content = $.trim($("#other_content").val());
	var uid = $.trim($("#uid").val());
	var pytoken = $.trim($("#pytoken").val());
	if(eid==""){
		parent.layer.msg('请先完善求职意向！', 2,8);
		return false;
	}
	if(name==""){
		parent.layer.msg('请填写其他标题！', 2,8);
		return false;
	}
	if(content==""){
		parent.layer.msg('请填写其他描述！', 2,8);
		return false;
	}
	parent.layer.load('执行中，请稍候...',0);
	$.post("index.php?m=admin_resume&c=other",{eid:eid,name:name,content:content,id:id,table:"resume_other",submit:"1",uid:uid,pytoken:pytoken},function(data){
		parent.layer.closeAll();
		if(data!=0){
			data=eval('('+data+')');
			$("#other").show();
			$("#addother").hide();
			if(id>0){
				var html='<tr><th  style="border-bottom: medium none;width:120px">其他标题：</th><td  style="border-bottom: medium none;width:320px" colspan="3">'+data.name+'</td></tr><tr ><th >其他描述：</th><td style="width:320px"><em>'+data.content+'</em></td><th width="120"><a href="javascript:void(0)" onclick="getresume(\'other\','+data.id+')"class=\"admin_save_sub1\">【修改】</a></th><td><a href=\"javascript:void(0)\" onclick=\"resume_del(\'other\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></td></tr>';
				$("#other_"+id).html(html);
			}else{
				var html='<div class="admin_saversume_list"  id="other_'+data.id+'"><div  class="admin_saversume_tit"><span class="admin_saversume_tit_b">'+data.name+'</span></div><div ></th><td style="width:320px"><em>'+data.content+'</em></div> <div class="admin_saversume_cz"><a href="javascript:void(0)" onclick="getresume(\'other\','+data.id+')"class=\"admin_save_sub1\">【修改】</a><a href=\"javascript:void(0)\" onclick=\"resume_del(\'other\','+data.id+')\"class=\"admin_save_sub2\">【删除】</a></div></div>';
				$("#other_list").append(html);
			}
			$("#other_add_button").show();
		}else{
			parent.layer.msg('操作失败！', 2, 8);
		}
	});
}
function checkClose(type){
	$("#add"+type).hide();
	$("#"+type).show();
}

function getresume(type,id){ 
	$("#add"+type+" .admin_save_sub").val("修 改");
	var pytoken = $.trim($("#pytoken").val());
	$("#add"+type).show();
	parent.layer.load('执行中，请稍候...',0);
	$.post("index.php?m=admin_resume&c=resume_ajax",{type:type,id:id,pytoken:pytoken},function(data){
		parent.layer.closeAll();
		var data=eval('('+data+')');
		if(type=="skill"){
			$("#skill_name").val(data.name);
			$("#skill_longtime").val(data.longtime);
			$("#skillid").val(data.id);
			$("#skill_pic").val(data.pic);
		}
		if(type=="work"){
			$("#work_name").val(data.name);
			$("#work_date").val(data.sdate+' ~ '+data.edate);
			$("#work_department").val(data.department);
			$("#work_title").val(data.title);
			$("#work_salary").val(data.salary);
			$("#work_content").val(data.content);
			$("#workid").val(data.id);
		}
		if(type=="project"){
			$("#project_name").val(data.name);
			$("#project_date").val(data.sdate+' ~ '+data.edate);
			$("#project_title").val(data.title);
			$("#project_content").val(data.content);
			$("#projectid").val(data.id);
		}
		if(type=="edu"){
			$("#edu_name").val(data.name);
			$("#edu_date").val(data.sdate+' ~ '+data.edate);
			$("#educationcid").val(data.education);	
			$("#education").val(data.educationval);	
			$("#edu_title").val(data.title);	
			$("#edu_specialty").val(data.specialty);						
			$("#eduid").val(data.id);
			layui.use(['form'], function(){
				var form = layui.form;
				form.render();
			});
		}
		if(type=="training"){
			$("#training_name").val(data.name);
			$("#training_date").val(data.sdate+' ~ '+data.edate);
			$("#training_title").val(data.title);
			$("#training_content").val(data.content);
			$("#trainingid").val(data.id);
		}
		if(type=="other"){
			$("#other_name").val(data.name);
			$("#other_content").val(data.content);
			$("#otherid").val(data.id);
		}
	});
}
function checkmore2(type){
	var eid=$.trim($("#eid").val());
	$("#add"+type+" .admin_save_sub").val("添 加");
	if(eid==""){
		parent.layer.msg('请先完善求职意向！', 2, 8);return false;
	} 
	$("#"+type+"_add_button").hide();
	$("#"+type+"_botton").attr("class","jianli_list_noadd");
	$("#"+type+"_botton").html('<em>暂不填写</em>');
	$("#"+type+"_botton").attr("onclick","checkClose2('"+type+"');");
	$("#add"+type).show();
	if(type=="skill"){
		$("#skill_name").val('');
		$("#skill_longtime").val('');
		$("#skillid").val('');
		$("#skill_pic").val('');
	}
	if(type=="work"){
		$("#work_name").val('');
		$("#work_date").val('');
		$("#work_department").val('');
		$("#work_title").val('');
		$("#work_content").val('');
		$("#workid").val('');
	}
	if(type=="project"){
		$("#project_name").val('');
		$("#project_date").val('');
		$("#project_title").val('');
		$("#project_content").val('');
		$("#projectid").val('');
	}
	if(type=="edu"){
		$("#edu_name").val('');
		$("#edu_date").val('');
		$("#educationcid").val('');
		$("#educationc").val('请选择最高学历');
		$("#edu_title").val('');
		$("#eduid").val('');

		layui.use(['form'], function(){
			var form = layui.form;
			form.render();
		});

	}
	if(type=="training"){
		$("#training_name").val('');
		$("#training_date").val('');
		$("#training_title").val('');
		$("#training_content").val('');
		$("#trainingid").val('');
	}
	if(type=="other"){
		$("#other_name").val('');
		$("#other_content").val('');
		$("#otherid").val('');
	}
}
function checkClose2(type){
	$("#"+type).hide();
	$("#"+type+"_botton").attr("class","jianli_list_add");
	$("#"+type+"_botton").html('<em>添加</em>');
	$("#"+type+"_botton").attr("onclick","checkmore2('"+type+"');");
	$("#Add"+type).show();
}
function toDate(str){
    var sd=str.split("-");
    return new Date(sd[0],sd[1],sd[2]);
}
function resume_del(table,id){
	var eid = $.trim($("#eid").val());
	var uid = $.trim($("#uid").val());
	var pytoken = $.trim($("#pytoken").val());
	parent.layer.confirm('确定要删除该项内容？', function(){
		parent.layer.load('执行中，请稍候...',0);
		$.post("index.php?m=admin_resume&c=resume_del",{table:table,id:id,eid:eid,uid:uid,pytoken:pytoken},function(data){
			parent.layer.closeAll();
			if(data!="0"){
				$("#"+table+'_'+id).remove();
				parent.layer.msg('删除成功！', 2,9);
			}else{
				parent.layer.msg('网络繁忙，请稍后！', 2,8);
			}
		});
	});
}
var weburl="{yun:}$config.sy_weburl{/yun}";
function checkskill(){
	var name = $.trim($("#skill_name").val());
	if(name==""){
		parent.layer.msg('请填写技能名称！', 2, 8);
		return false;
	}
}
</script>
<style>
* {
	margin: 0;
	padding: 0;
}
body, div {
	margin: 0;
	padding: 0;
}
.no_border {
	border-bottom: medium none;
}
.table_form a {
	color: #3d84b8;
}
</style>
<title>后台管理</title>
</head>
<body class="body_ifm">
{yun:}include file="$tplstyle/public_search/index_search.htm"{/yun}
<div class="infoboxp">
<div class="infoboxp_top_bg"></div>
<div class="admin_table_border">
  <iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
  <input type="hidden" name="uid" id='uid' value="{yun:}$uid{/yun}">
  <input type="hidden" name="pytoken" id="pytoken" value="{yun:}$pytoken{/yun}">
  <input type="hidden" name="eid" id='eid' {yun:}if $row.id{/yun}value="{yun:}$row.id{/yun}"{yun:}/if{/yun}>
  <div id="addresume" {yun:}if $row.id{/yun} style='display:none'{yun:}/if{/yun}>
  <form class="layui-form">
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr>
      <th width="120"  bgcolor="#f5f5f5">求职意向</th>
      <td colspan='4' style="padding:0px;"><table width="100%">
          <tr>
            <th width='120'>简历名称：</th>
            <td><input type="text" name="name" id="expect_name" class="input-text" value="{yun:}$row.name{/yun}"></td>
            <th>期望从事行业：</th>
            <td>
            <div class="layui-form-item">
              <div class="layui-input-block">
                 <div class="layui-input-inline">
                   <select name='hy' id='hyid'>
				 {yun:}foreach item=hy from=$industry_index{/yun}
                  <option value='{yun:}$hy{/yun}' {yun:}if $hy==$row.hy{/yun}selected="selected"{yun:}/if{/yun}>{yun:}$industry_name[$hy]{/yun}</option>
				 {yun:}/foreach{/yun}
                </select>
                 </div>
               </div>
            </div></td>
          </tr>
          <tr >
            <th>期望从事职位：</th>
            <td><div class="admin_td_h">
                <input id="job_class" type="hidden" name='job_post' value="{yun:}$row.job_classid{/yun}" name="job_class">
				<input type="button" id="workadds_job"  value="{yun:}if $job_classname{/yun}{yun:}$job_classname{/yun}{yun:}else{/yun}请选择职位{yun:}/if{/yun}" class="expect_text" onclick="index_job_new(5,'#workadds_job','#job_class','left:100px;top:100px; position:absolute;','1');" readonly="readonly" />
              </div></td>
            <th>期望月薪：</th>
            <td><div> 
                <input type="text" id="minsalary" name="minsalary" size="6" value="{yun:}if $row.minsalary{/yun}{yun:}$row.minsalary{/yun}{yun:}/if{/yun}" class="admin_text_w70"> -
                <input type="text" id="maxsalary" name="maxsalary" size="6" value="{yun:}if $row.maxsalary{/yun}{yun:}$row.maxsalary{/yun}{yun:}/if{/yun}"class="admin_text_w70">
              </div></td>
          </tr>
          <tr >
            <th>工作地点：</th>
            <td>
            <div class="layui-form-item">
			<div class="layui-input-inline">
			<input type="button" class="expect_text" id="workadds_city" value="{yun:}if $city_classname{/yun}{yun:}$city_classname{/yun}{yun:}else{/yun}请选择工作地点{yun:}/if{/yun}" onclick="index_city_new(5,'#workadds_city','#city_class','','{yun:}$row.city_classid{/yun}');"/>
			<input type="hidden" name="city_class" id="city_class" value="{yun:}$row.city_classid{/yun}"/>
			</div>
			
		</div></td>
            <th>到岗时间：</th>
            <td >
            <div class="layui-form-item">
              <div class="layui-input-block">
                 <div class="layui-input-inline">
                   <select name='report' id='reportid'>
				 {yun:}foreach from=$userdata.user_report  item=v{/yun}
                  <option value='{yun:}$v{/yun}' {yun:}if $row.report==$v{/yun}selected='selected'{yun:}/if{/yun}>{yun:}$userclass_name[$v]{/yun}</option>
				 {yun:}/foreach{/yun}
                </select>
                 </div>
               </div>
            </div></td>
          </tr>
          <tr>
            <th>工作性质：</th>
            <td>
            <div class="layui-form-item">
              <div class="layui-input-block">
                 <div class="layui-input-inline">
                   <select name='type' id='typeid'>
				 {yun:}foreach from=$userdata.user_type  item=v{/yun}
                  <option value='{yun:}$v{/yun}' {yun:}if $row.type==$v{/yun}selected='selected'{yun:}/if{/yun}>{yun:}$userclass_name[$v]{/yun}</option>
				 {yun:}/foreach{/yun}
                </select>
                 </div>
               </div>
            </div></td>
            <th>求职状态：</th>
            <td >
            <div class="layui-form-item">
              <div class="layui-input-block">
                 <div class="layui-input-inline">
                   <select name='jobstatus' id='jobstatusid'>
				 {yun:}foreach from=$userdata.user_jobstatus  item=v{/yun}
                  <option value='{yun:}$v{/yun}' {yun:}if $row.jobstatus==$v{/yun}selected='selected'{yun:}/if{/yun}>{yun:}$userclass_name[$v]{/yun}</option>
				 {yun:}/foreach{/yun}
                </select>
                 </div>
               </div>
            </div></td>
          </tr>
        </table></td></tr>
  </table>
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr >
      <td colspan='5' align="center"><input class="admin_save_sub" type="button" value="修 改" name="submit" onclick="saveexpect()"  >
        <input class="admin_save_sub_qx" type="button" value="取 消" name="submit"  onclick="checkClose('resume');"  ></td>
    </tr>
  </table>
</form>
</div>
<div id='resume' {yun:}if $row.id==''{/yun} style='display:none'{yun:}/if{/yun}>
<table width="100%" class="table_form_resume" style="background:#fff;">
<tr>
<th width="120"  bgcolor="#f5f5f5">求职意向</th>
<td colspan='4' style="padding:0px;">
<table width="100%">
  <tr>
    <th  width="120">简历名称：</th>
    <td id="expect_name_html"><div class="admin_td_h">{yun:}$row.name{/yun}</div></td>
    <th  width="120" class="admin_td_liner">期望从事行业：</th>
    <td id="hy_html"><div class="admin_td_h">{yun:}$industry_name[$row.hy]{/yun}</div></td>
  </tr>
  <tr >
    <th>期望从事职位：</th>
    <td id="job_class_html"><div class="admin_td_h">{yun:}$job_classname{/yun}</div></td>
    <th class="admin_td_liner">期望月薪：</th>
    <td id="salary_html"><div class="admin_td_h">{yun:}if $row.maxsalary{/yun}￥{yun:}$row.minsalary{/yun}-{yun:}$row.maxsalary{/yun}{yun:}else{/yun}￥{yun:}$row.minsalary{/yun}以上{yun:}/if{/yun}</div></td>
  </tr>
  <tr >
    <th>工作地点：</th>
    <td id="cityid_html"><div class="admin_td_h">{yun:}$city_classname{/yun}</div></td>
    <th class="admin_td_liner">到岗时间：</th>
    <td id="report_html"><div class="admin_td_h">{yun:}$userclass_name[$row.report]{/yun}</div></td>
  </tr>
  <tr>
    <th>工作性质：</th>
    <td  id="type_html"><div class="admin_td_h">{yun:}$userclass_name[$row.type]{/yun}</div></td>
    <th class="admin_td_liner">求职状态：</th>
    <td id="jobstatus_html"><div class="admin_td_h">{yun:}$userclass_name[$row.jobstatus]{/yun}</div></td>
  </tr>
  <table>
      </td>
    
      </tr>
    
  </table>
    </td>
    </tr>
  
</table>
<table width="100%" class="table_form_resume" style="background:#fff;">
  <tr >
    <td colspan="5" align="center"><input class="admin_save_sub" type="button" value="修 改" name="submit" onclick="checkmore('resume')" ></td>
  </tr>
</table>
</div>
<div id='work' >
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr>
      <th width="120" bgcolor="#f5f5f5">工作经历：</th>
      <td   colspan='4'><div id='work_list'> {yun:}if $work{/yun}
          {yun:}foreach from=$work item=work_l{/yun}
          <div class="admin_saversume_list" id="work_{yun:}$work_l.id{/yun}">
            <div class="admin_saversume_tit"><span class="admin_saversume_tit_b">{yun:}$work_l.name{/yun}</span> 担任 <span class="admin_saversume_tit_b">{yun:}$work_l.title{/yun}</span> </div>
            <div>{yun:}$work_l.sdate|date_format:"%Y-%m"{/yun} 至 {yun:}$work_l.edate|date_format:"%Y-%m"{/yun}</div>
            <div>{yun:}$work_l.content{/yun}</div>
            <div class="admin_saversume_cz"> <a href="javascript:void(0)" onclick="getresume('work','{yun:}$work_l.id{/yun}')" class="admin_save_sub1">【修改】</a> <a href="javascript:void(0)" onclick="resume_del('work','{yun:}$work_l.id{/yun}')" class="admin_save_sub2">【删除】</a> </div>
          </div>
          {yun:}/foreach{/yun}
          {yun:}/if{/yun} </div></td>
    </tr>
  </table>
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr id='work_add_button'>
      <td colspan="5" align="center"><input class="admin_save_sub" type="button" value="添加工作经历" onclick="checkmore2('work');"name="com_update" ></td>
    </tr>
  </table>
</div>
<div id='addwork' style="display:none">
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr  >
      <th width="120">单位名称：</th>
      <td   colspan="4" ><input type="text" name="work_name" id="work_name" class="input-text"   size='40'></td>
    </tr>
    <tr  >
      <th>工作时间：</th>
      <td colspan='3'>
        <input class="input-text text_seclet_w130 " type="text" name="date" value="" id="work_date"/>
        时间格式：2014-07
        <script type="text/javascript">
		layui.use(['laydate'], function(){var laydate = layui.laydate,$ = layui.$;laydate.render({elem: '#work_date',type: 'month',range:'~'});});
        </script></td>
    </tr>
    <tr >
      <th>担任职位：</th>
      <td colspan='3'><input type="text" name="title" id="work_title" class="input-text"  ></td>
    </tr>
    <tr >
      <th>工作内容：</th>
      <td colspan='3'><textarea id="work_content" class="expect_text_textarea " ></textarea></td>
    </tr>
    <tr>
      <td colspan="4" align="center"><input type="hidden" id="workid" />
        <input class="admin_save_sub" type="button" value=" 添 加 " name="submit" onclick="savework();" >
        <input class="admin_save_sub_qx" type="button" value=" 取 消 " onclick="layerClose('work')" ></td>
    </tr>
  </table>
</div>
<div id='edu' >
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr>
      <th width="120"  bgcolor="#f5f5f5">教育经历：</th>
      <td   colspan='4'><div id="edu_list">
        {yun:}if $edu{/yun}
        {yun:}foreach from=$edu item=edu_l{/yun}
        <div class="admin_saversume_list" id="edu_{yun:}$edu_l.id{/yun}">
          <div class="admin_saversume_tit"><span class="admin_saversume_tit_b">{yun:}$edu_l.name{/yun}</span> 班级职务 <span class="admin_saversume_tit_b">{yun:}$edu_l.title{/yun}</span> </div>
          <div>{yun:}$edu_l.sdate|date_format:"%Y-%m"{/yun} 至 {yun:}$edu_l.edate|date_format:"%Y-%m"{/yun}</div>
          <div> 最高学历：{yun:}$userclass_name[$edu_l.education]{/yun} 所学专业：{yun:}$edu_l.specialty{/yun}</div>
          <div class="admin_saversume_cz"> <a href="javascript:void(0)" onclick="getresume('edu','{yun:}$edu_l.id{/yun}')"class="admin_save_sub1">【修改】</a> <a href="javascript:void(0)" onclick="resume_del('edu','{yun:}$edu_l.id{/yun}')" class="admin_save_sub2">【删除】</a> </div>
        </div>
        {yun:}/foreach{/yun}
        {yun:}/if{/yun} </td>
    </tr>
  </table>
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr id='edu_add_button'>
      <td colspan="5" align="center"><input class="admin_save_sub" type="button" value="添加教育经历" onclick="checkmore2('edu');"name="com_update" ></td>
    </tr>
  </table>
</div>
<div id='addedu' style="display:none">
	<form class="layui-form">
		<table width="100%" class="table_form_resume" style="background:#fff;">
			<tr>
				<th width="120">学校名称：</th>
				<td	colspan="4" ><input type="text" name="name" id="edu_name" class="input-text" size='40'></td>
			</tr>
			<tr>
				<th>在校时间：</th>
				<td colspan='3'>
					<input class="input-text text_seclet_w130 " type="text" name="date" value="" id="edu_date"/>时间格式：2014-07 
					<script type="text/javascript">
						layui.use(['laydate'], function(){
							var laydate = layui.laydate,
								$ = layui.$;
							laydate.render({
								elem: '#edu_date',
								type: 'month',
								range:'~'
							});
						});
					</script>
				</td>
			</tr>
			<tr class="admin_table_trbg">
				<th>最高学历：</th>
				<td colspan='3'>
					<div class="layui-form-item">
						<div class="layui-input-block">
							<div class="layui-input-inline">
								<select name='education' id='educationcid'>
									<option value="">请选择</option>
									{yun:}foreach from=$userdata.user_edu key=j item=v{/yun}
									<option value='{yun:}$v{/yun}'>{yun:}$userclass_name[$v]{/yun}</option>
									{yun:}/foreach{/yun}
								</select>
							</div>
						</div>
					</div>
				</td>
			</tr>
			<tr>
				<th>班级职务：</th>
				<td colspan='3'><input type="text" name="title" id="edu_title" class="input-text"  ></td>
			</tr>
			<tr>
				<th>所学专业：</th>
				<td colspan='3'><input type="text" name="specialty" id="edu_specialty" class="input-text"  ></td>
			</tr>
			<tr>
				<td colspan="4" align="center">
					<input type="hidden" id="eduid" />
					<input class="admin_save_sub" type="button" value=" 添 加 " name="submit" onclick="saveedu();" >
					<input class="admin_save_sub_qx" type="button" value=" 取 消 " onclick="layerClose('edu')" >
				</td>
			</tr>
		</table>
	</form>
</div>

<div id='training' >
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr>
      <th width="120"  bgcolor="#f5f5f5">培训经历：</th>
      <td   colspan='4'><div id="training_list"> {yun:}if $training{/yun}
          {yun:}foreach from=$training item=training_l{/yun}
          <div class="admin_saversume_list" id="training_{yun:}$training_l.id{/yun}">
            <div class="admin_saversume_tit"><span class="admin_saversume_tit_b">{yun:}$training_l.name{/yun}</span> 培训方向 <span class="admin_saversume_tit_b">{yun:}$training_l.title{/yun}</span> </div>
            <div>{yun:}$training_l.sdate|date_format:"%Y-%m"{/yun} 至 {yun:}$training_l.edate|date_format:"%Y-%m"{/yun}</div>
            <div>{yun:}$training_l.content{/yun}</div>
            <div class="admin_saversume_cz"> <a href="javascript:void(0)" onclick="getresume('training','{yun:}$training_l.id{/yun}')"class="admin_save_sub1">【修改】</a> <a href="javascript:void(0)" onclick="resume_del('training','{yun:}$training_l.id{/yun}')" class="admin_save_sub2">【删除】</a> </div>
          </div>
          {yun:}/foreach{/yun}
          {yun:}/if{/yun} </div></td>
    </tr>
  </table>
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr id='training_add_button'>
      <td colspan="5" align="center"><input class="admin_save_sub" type="button" value="添加培训经历" onclick="checkmore2('training');"name="com_update" ></td>
    </tr>
  </table>
</div>
<div id='addtraining' style="display:none">
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr  >
      <th width="120">培训中心：</th>
      <td   colspan="4" ><input type="text" name="name" id="training_name" class="input-text"   size='40'></td>
    </tr>
    <tr  >
      <th>培训时间：</th>
      <td colspan='3'><input class="input-text text_seclet_w130 " type="text" name="date" value="" id="training_date"/>
        时间格式：2014-07 
        <script type="text/javascript">
		layui.use(['laydate'], function(){var laydate = layui.laydate,$ = layui.$;laydate.render({elem: '#training_date',type: 'month',range:'~'});});
        </script></td>
    </tr>
    <tr >
      <th>培训方向：</th>
      <td colspan='3'><input type="text" name="title" id="training_title" class="input-text"  ></td>
    </tr>
    <tr >
      <th>培训描述：</th>
      <td colspan='3'><textarea id="training_content" class="expect_text_textarea "></textarea></td>
    </tr>
    <tr>
      <td colspan="4" align="center"><input type="hidden" id="trainingid" />
        <input class="admin_save_sub" type="button" value=" 添 加 " name="submit" onclick="savetraining();" >
        <input class="admin_save_sub_qx" type="button" value=" 取 消 " onclick="layerClose('training')" ></td>
    </tr>
  </table>
</div>
<div id='skill' >
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr>
      <th width="120"  bgcolor="#f5f5f5">职业技能：</th>
      <td   colspan='4'><div id="skill_list"> {yun:}if $skill{/yun}
          {yun:}foreach from=$skill item=skill_l{/yun}
          <div class="admin_saversume_list" id="skill_{yun:}$skill_l.id{/yun}">
            <div class="admin_saversume_tit"><span class="admin_saversume_tit_b">{yun:}$skill_l.name{/yun}</span> 掌握时间 <span class="admin_saversume_tit_b">{yun:}$skill_l.longtime{/yun}年</span> </div>
            <div> {yun:}if $skill_l.pic{/yun}
              技能证书： <img src="{yun:}$config.sy_weburl{/yun}/{yun:}$skill_l.pic{/yun}" width="95" height="70"> {yun:}/if{/yun}</div>
            <div class="admin_saversume_cz"> <a href="javascript:void(0)" onclick="getresume('skill','{yun:}$skill_l.id{/yun}')" class="admin_save_sub1">【修改】</a> <a href="javascript:void(0)" onclick="resume_del('skill','{yun:}$skill_l.id{/yun}')"class="admin_save_sub2">【删除】</a> </div>
          </div>
          {yun:}/foreach{/yun}
          {yun:}/if{/yun} </div></td>
    </tr>
  </table>
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr id='skill_add_button'>
      <td colspan="5" align="center"><input class="admin_save_sub" type="button" value="添加技能" onclick="checkmore2('skill');"name="com_update" ></td>
    </tr>
  </table>
</div>
<div id='addskill' style="display:none">
  <form method="post" action="index.php?m=admin_resume&c=skill" target="supportiframe" enctype="multipart/form-data" onsubmit="return checkskill()">
    <table width="100%" class="table_form_resume" style="background:#fff;">
      <tr>
        <th width="120">技能名称：</th>
        <td  colspan='4'><input type="text" name="name" id="skill_name" class="input-text" value="">
          例：英语、C语言、速记 </td>
         </tr>
      <tr>
        <th width="120">掌握时间：</th>
        <td colspan='4'><input type="text" name="longtime" id="skill_longtime" class="input-text" value="" size='5' onkeyup="this.value=this.value.replace(/[^0-9]/g,'')">
          年</td>
      </tr>
      <tr>
        <th>技能证书：</th>
        <td colspan='4'><input type="file" name="pic" id="skill_pic" class="input-text" value=""/></td>
      </tr>
      <tr>
        <td colspan="5" align="center"><input type="hidden" id="skillid" name="id"/>
          <input type="hidden" name="uid" value="{yun:}$uid{/yun}">
          <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
          <input type="hidden" name="eid" {yun:}if $row.id{/yun}value="{yun:}$row.id{/yun}"{yun:}/if{/yun}>
          <input class="admin_save_sub" type="submit" value=" 添 加 " name="submit" >
          <input type="button" class="admin_save_sub_qx"value=" 取 消 " onclick="layerClose('skill')" ></td>
      </tr>
    </table>
  </form>
</div>
<div id='project' >
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr>
      <th width="120"  bgcolor="#f5f5f5">项目经历：</th>
      <td   colspan='4'><div id="project_list"> {yun:}if $project{/yun}
          {yun:}foreach from=$project item=project_l{/yun}
          <div class="admin_saversume_list" id="project_{yun:}$project_l.id{/yun}">
            <div class="admin_saversume_tit"><span class="admin_saversume_tit_b">{yun:}$project_l.name{/yun}</span> 担任职位 <span class="admin_saversume_tit_b">{yun:}$project_l.title{/yun}</span> </div>
            <div>{yun:}$project_l.sdate|date_format:"%Y-%m"{/yun} 至 {yun:}$project_l.edate|date_format:"%Y-%m"{/yun}</div>
            <div>{yun:}$project_l.content{/yun}</div>
            <div class="admin_saversume_cz"> <a href="javascript:void(0)" onclick="getresume('project','{yun:}$project_l.id{/yun}')" class="admin_save_sub1">【修改】</a> <a href="javascript:void(0)" onclick="resume_del('project','{yun:}$project_l.id{/yun}')" class="admin_save_sub2">【删除】</a> </div>
          </div>
          {yun:}/foreach{/yun}
          {yun:}/if{/yun} </div></td>
    </tr>
  </table>
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr id='project_add_button'>
      <td colspan="4" align="center"><input class="admin_save_sub" type="button" value="添加项目经历" onclick="checkmore2('project');"name="com_update"></td>
    </tr>
  </table>
</div>
<div id='addproject' style="display:none">
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr  >
      <th width="120">项目名称：</th>
      <td   colspan="4" ><input type="text" name="project_name" id="project_name" class="input-text"   size='40'></td>
    </tr>
    <tr  >
      <th>项目时间：</th>
      <td colspan='3'><input class="input-text text_seclet_w130 " type="text" name="date" value="" id="project_date"/>
        时间格式：2014-07
        <script type="text/javascript">
		layui.use(['laydate'], function(){var laydate = layui.laydate,$ = layui.$;laydate.render({elem: '#project_date',type: 'month',range:'~'});});
        </script></td>
    </tr>
    <tr >
      <th>担任职位：</th>
      <td colspan='3'><input type="text" name="title" id="project_title" class="input-text"  ></td>
    </tr>
    <tr >
      <th>项目内容：</th>
      <td colspan='3'><textarea id="project_content" class="expect_text_textarea " ></textarea></td>
    </tr>
    <tr>
      <td colspan="4" align="center"><input type="hidden" id="projectid" />
        <input class="admin_save_sub" type="button" value=" 添 加 " name="submit" onclick="saveproject();" >
        <input class="admin_save_sub_qx" type="button" value=" 取 消 " onclick="layerClose('project')" ></td>
    </tr>
  </table>
</div>
<div id='other' >
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr>
      <th width="120"  bgcolor="#f5f5f5">其他：</th>
      <td   colspan='4'><div id="other_list"> {yun:}if $other{/yun}
          {yun:}foreach from=$other item=other_l{/yun}
          <div class="admin_saversume_list"  id="other_{yun:}$other_l.id{/yun}">
            <div class="admin_saversume_tit"><span class="admin_saversume_tit_b">{yun:}$other_l.name{/yun}</span></div>
            <div>{yun:}$other_l.content{/yun}</div>
            <div class="admin_saversume_cz"> <a href="javascript:void(0)" onclick="getresume('other','{yun:}$other_l.id{/yun}')" class="admin_save_sub1">【修改】</a> <a href="javascript:void(0)" onclick="resume_del('other','{yun:}$other_l.id{/yun}')"class="admin_save_sub2">【删除】</a> </div>
          </div>
          {yun:}/foreach{/yun}
          {yun:}/if{/yun} </div></td>
  </table>
  <table width="100%" class="table_form_resume" style="background:#fff;">
    <tr id='other_add_button'>
      <td colspan="5" align="center"><input class="admin_save_sub" type="button" value="添加其他" onclick="checkmore2('other');"name="com_update" ></td>
    </tr>
  </table>
</div>
<div id='addother' style="display:none">
  <table width="100%" class=" table_form_resume" style="background:#fff;">
    <tr  >
      <th width="120">其他标题：</th>
      <td   colspan="4" ><input type="text" name="name" id="other_name" class="input-text"   size='40'></td>
    </tr>
    <tr >
      <th>其他描述：</th>
      <td colspan='3'><textarea id="other_content" class="expect_text_textarea "></textarea></td>
    </tr>
    <tr>
      <td colspan="4" align="center"><input type="hidden" id="otherid" />
        <input class="admin_save_sub" type="button" value=" 添 加 " name="submit" onclick="saveother();" >
        <input class=" admin_save_sub_qx" type="button" value=" 取 消 " onclick="layerClose('other')" ></td>
    </tr>
  </table>
</div>
</div>
</div>
<div style="margin-top:30px"></div>
<script>
var weburl="{yun:}$config.sy_weburl{/yun}";
var form ,url = weburl+"/index.php?m=ajax&c=get_city_option";
layui.use(['layer', 'form'], function(){
    var layer = layui.layer
    ,form = layui.form
    ,$ = layui.$;
	
});
</script>
{yun:}include file="$tplstyle/public_search/index_search.htm"{/yun}

</body>
</html>